package com.serkol.driving.learning.wx.service;

import com.github.binarywang.wxpay.exception.WxPayException;

import java.math.BigDecimal;

public interface WeChatPayService {
    String[] pay(String tradeType, String description, String outTradeNo, Integer total, String openId);
    String[] query(String transactionId, String outTradeNo);
    String[] refund(String outTradeNo, String outRefundNo, Integer total, Integer refund);
    Object weChatPay(String tradeType, String description, String outTradeNo, BigDecimal total, String openId) throws WxPayException;
}
